﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Money.Entities;

namespace Money.Interfaces
{
    public interface IUserService
    {
        void CreateUser(User item);
        void DeleteUser(int id);
        void UpdateUser(User item);
        User Authentication(string username, string password);
        User GetUserById(int id);
        User GetUserByUsername(string username);
        User GetUserByEmail(string email);
        List<User> GetUsers(string orderBy, string orderDirection, int page, int pageSize, out int totalRecords);
    }
}
